home *** CD-ROM | disk | FTP | other *** search
/ Digit Magazine 1999 December / cDigit issue 18 - December 1999.iso / pc / demos / GLpro / glproe.exe / %MAINDIR% / runme.gls < prev   
Encoding:
Text File  |  1999-10-05  |  1.4 KB  |  31 lines

  1. ;Here is some GLPRO script that demonstrates just a fraction of GLPRO's features.
  2. ;Press the F10 key now to run this simple example of some GLPRO commands in action.
  3.  
  4. windowSIZE 640 480 8        ;use a display window of 640x480 resolution, 8-bit color (256 colors)
  5. drawCLEAR blue            ;clear the screen to blue
  6.  
  7. color white                    ;set the drawing color to white
  8.  
  9. fontSTYLE anti bold            ;use a bold and anti-aliased font style
  10. fontDEFINE sample "Arial" 22    ;define a font called sample, which is Arial, point size 22
  11. font sample                ;tell GLPRO to use that font for all subsequent text commands
  12.  
  13. text 20 20 "Welcome to GLPRO"
  14. text 20 50 "the world's most powerful multimedia language!"
  15.  
  16. drawLINE 20 90 600 90        ;draw a line from 20,90 to 600,90
  17.  
  18. color yellow                ;set drawing color to white
  19.  
  20. drawREGION 20 100 600 470    ;make all display fit into a 20,100 by 600,400 pixel window
  21.  
  22. text 20 110 "GLPRO features over 650 commands for complete flexibility and power!"
  23.  
  24. text 20 180 "To see a detailed GLPRO sample project demonstrating many of GLPRO's very powerful features, download PROJECT.EXE from the GLPRO web site at www.GLPRO.com"
  25.  
  26. color white                    ;set the drawing color to white
  27.  
  28. text 20 310 "Since way back in 1983, GLPRO technology has been used worldwide by multimedia professionals to develop highly advanced, reliable and low-overhead commercial applications - why not join us!"
  29.  
  30. wait
  31.